package name.jiaosha.air.iostorage.service;

import java.util.List;

import name.jiaosha.air.iostorage.domain.Buy;
import name.jiaosha.air.iostorage.domain.BuyItem;

import com.ali8ba.common.PageInfo;

public interface IStorageService {

	/**
	 * 增加进货记录
	 * 
	 * @param buy
	 */
	public void createBuy(Buy buy);

	public Buy updateBuy(Buy buy);

	public Buy getBuyById(String id);

	public PageInfo<Buy> getBuyListByComId(Integer comId, int index,
			int pageSize);

	public List<BuyItem> getBuyItems(String docID);

}
